package com.syh.jn.scm.service.api.operation.system;

import com.syh.jn.scm.dto.operation.system.permission.PerTypePackageDto;
import com.syh.jn.scm.dto.operation.system.permission.PermissionTypeMto;
import com.syh.jn.scm.dto.operation.system.permission.PermissionTypeSto;
import com.syh.jn.scm.dto.operation.system.permission.PermissionTypeVo;
import com.syh.jn.scm.service.core.BaseService;

import java.util.List;
import java.util.Map;

public interface PermissionTypeService extends BaseService<PermissionTypeSto, PermissionTypeMto, PermissionTypeVo,Long> {
	public List<PermissionTypeVo> getAllSystemTypeNames();

	public void batchSave(Map<Integer, List<PerTypePackageDto>> perTypePackageDtos);

	/**
	 * 批量停用权限类型
	 *
	 * @param ids id集合
	 */
	public void batchDiscardPermissionTypes(List<Long> ids);
}

